/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Users;

import java.sql.Date;

/**
 *
 * @author Adjell Ian
 */
public class CreditCard {

    private String name;
    private int num;
    private int issuer;
    private Date expdate;
    private Address billing = new Address();

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the num
     */
    public int getNum() {
        return num;
    }

    /**
     * @param num the num to set
     */
    public void setNum(int num) {
        this.num = num;
    }

    /**
     * @return the issuer
     */
    public int isIssuer() {
        return issuer;
    }

    /**
     * @param issuer the issuer to set
     */
    public void setIssuer(int issuer) {
        this.issuer = issuer;
    }

    /**
     * @return the expdate
     */
    public Date getExpdate() {
        return expdate;
    }

    /**
     * @param expdate the expdate to set
     */
    public void setExpdate(Date expdate) {
        this.expdate = expdate;
    }

    /**
     * @return the billing
     */
    public Address getBilling() {
        return billing;
    }

    /**
     * @param billing the billing to set
     */
    public void setBilling(Address billing) {
        this.billing = billing;
    }
}
